Sets an attribute node. Optionally returns a reference to a node as an XMLAttribute that had the same name and was replaced.
Syntax |
|---|
|
result = XMLElement.SetAttributeNode( AttributeNode, [ns] ) |
Parameters |
|
|---|---|
|
AttributeNode |
|
|
ns |
Boolean (Optional) |
Return Value |
|
|---|---|
|
Result |
|
Notes
The optional parameter ns determines whether to use and declare any namespace data found in the passed XMLAttribute.